{#功能#}

{#打印按钮#}
{% macro printButton(style, href) %}
    <button type="button" class="btn btn-success print-go" style="{{ style }}" data-href="{{ href | default(app.request.get('printGo')) }}">打印</button>
    <script>
        $('.print-go').click(function () {
            window.location.href = $(this).data('href');
        });
    </script>
{% endmacro %}
